package com.itsu.interfaces.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_questionnaire")
public class TestSoulQuestionnaire implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private Integer star;
    private String cover;
    private Integer isLock;
    private String level;

    @TableField(exist = false)
    private List<TestSoulQuestion> questions;

}
